Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix aria-level and aria role violations #198

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

sparekh0730
Copy link
Contributor

@sparekh0730 sparekh0730 commented Dec 5, 2023

This tree component has accessibility violations caught by Axe, and this PR addresses the violation for aria role and aria-level.

The row component has a role "treeitem", which requires a parent component with role "tree".
Also, aria-levels must be greater than or equal to 1, and since the root node starts at 0, this was causing another accessibility violation

Screenshot 2023-12-04 at 2 47 10 PM Screenshot 2023-12-04 at 4 34 04 PM

Fixes #197

@sparekh0730 sparekh0730 marked this pull request as draft December 5, 2023 08:40
@sparekh0730 sparekh0730 marked this pull request as ready for review December 5, 2023 08:53
Copy link
Member

@jameskerr jameskerr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much!

@jameskerr jameskerr merged commit e165800 into brimdata:main Dec 12, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Accessibility Violation - aria-required-parent for role="treeitem"
3 participants